/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import java.util.Date;

/**
 *
 * @author xuanl_000
 */
public class Faq {
    private int id;
    private int accId;
    private String question;
    private String answer;
    private int status;
    private Date createTime;

    public Faq(int id, int accId, String question, String answer, int status, Date createTime, Date updateTime) {
        this.id = id;
        this.accId = accId;
        this.question = question;
        this.answer = answer;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    private Date updateTime;

    public Faq() {
    }

    public Faq(int id, int accId, String question, String answer, int status, Date createTime) {
        this.id = id;
        this.accId = accId;
        this.question = question;
        this.answer = answer;
        this.status = status;
        this.createTime = createTime;
       
    }

    @Override
    public String toString() {
        return "Faq{" + "id=" + id + ", accId=" + accId + ", question=" + question + ", answer=" + answer + ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime + '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAccId() {
        return accId;
    }

    public void setAccId(int accId) {
        this.accId = accId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
}
